package com.zsrd.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class SysDict {

  private long id;

  private String dictType;

  private String typeName;

  private String dictCode;

  private String dictName;

  private String dictDesc;

  private long sort;

  /**
   * 用来左侧菜单精确查询
   */
  @TableField(exist = false)
  private String value;

  /**
   * 树结构的下级
   */
  public List<SysDict> children;

  @TableField(exist = false)
  @ApiModelProperty("分页起始")
  private Integer pageNum;

  @TableField(exist = false)
  @ApiModelProperty("分页结束")
  private Integer pageSize;

}
